package com.xiepxcc.annotation.base.vo;

import com.xiepxcc.annotation.base.anno.NonNullAnnotation;

import javax.validation.constraints.Size;

public class LoginVO {

    @NonNullAnnotation
    private int id;

    @NonNullAnnotation
    @Size(min=2, max=30)
    private String pass;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
}
